package net.yla.smartbus.module.ba.vehicle.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author 默苍离
 * @date 2021/6/17 16:53
 * <p>
 * ******************************************
 * @annotation: 返回前端页面的车辆数据
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class VehicleDto {

    /**
     * id 主键id
     */
    private Integer vehicleId;

    /**
     * 车牌号
     */
    private String no;

    /**
     * 自编号
     */
    private String code;

    /**
     * 机构名称（分组）
     */
    private Integer groupId;
    private String groupName;

    /**
     * 车辆型号
     */
    private Integer modelId;
    private String modelName;

    /**
     * 品牌
     */
    private Integer brandId;

    /**
     * 品牌回显
     */
    private List<Integer> deviceType;

    /**
     * 已安装设备
     */
    private List<String> deviceName;
    private List<Integer> deviceId;

    /**
     * 注册日期
     */
    private Date date1;
    private String registrationDate;

    /**
     * 购置日期
     */
    private Date date2;
    private String buyDate;

    /**
     * 运营类型
     */
    private Integer operation;
    private String operationName;

    /**
     * 车辆行驶证
     */
    private String drivingNo;

    /**
     * 运营证号
     */
    private String operationNo;

    /**
     * 车主
     */
    private List<String> ownerName;
    private List<Integer> ownerId;

    private Integer period;
    private Date inspect;
    private Integer inspect1;
    private Date compulsory;
    private Integer compulsory1;
    private Date personLiability;
    private Integer personLiability1;
    private Date vehicleDamage;
    private Integer vehicleDamage1;
    private Integer insureClaims1;
    private Integer insureClaims2;
    private Integer insureClaims3;
    private Integer medigaps;
    private Integer ownerType;

    /**
     * 车辆照片
     */
    private List<String> images;
    private String image1;
    private String image2;
    private String image3;
    private String image4;
    private String image5;


}
